package com.pig4cloud.pigx.user.service;

import com.pig4cloud.pigx.common.core.util.R;
import com.pig4cloud.pigx.user.entity.User;

/**
 * @date:2022/8/8
 */
public interface EmailService {


    /**
     * 发送验证码
     *
     * @param user    邮箱信息
     * @param massage 邮件类型
     * @return
     */
    R sendEmail(User user, String massage);


}
